package io.zim.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品实体
 * @author zzh
 * @email 862583291@qq.com
 * @date 2019-1-16 18:51:40
 */
@TableName("nideshop_goods")
@Data
public class GoodsVo implements Serializable {
  private static final long serialVersionUID = 1L;
  //主键
  private Long id;
  //商品类型主键
  private Integer categoryId;
  //产品编号
  private String goodsSn;
  //名称
  private String name;
  //品牌id
  private Integer brandId;
  //商品库存
  private Integer goodsNumber;
  //关键字
  private String keywords;
  //商品简介
  private String goodsBrief;
  //商品描述
  private String goodsDesc;
  //是否上架
  private Integer isOnSale;
  //录入日期
  private Date addTime;
  //排序
  private Integer sortOrder;
  //是否删除
  private Integer isDelete;
  //属性类别
  private Integer attributeCategory;
  //专柜价格
  private BigDecimal counterPrice;
  //附加价格
  private BigDecimal extraPrice;
  //是否新品
  private Integer isNew;
  //商品单位
  private String goodsUnit;
  //商品主图
  private String primaryPicUrl;
  //商品列表图
  private String listPicUrl;
  //市场价
  private BigDecimal marketPrice;
  //零售价格
  private BigDecimal retailPrice;
  //销售量
  private Integer sellVolume;
  //主产品id
  private Integer primaryProductId;
  //单价
  private BigDecimal unitPrice;
  //推广描述
  private String promotionDesc;
  //推广标签
  private String promotionTag;
  //APP专享价
  private BigDecimal appExclusivePrice;
  //是否是APP专属
  private Integer isAppExclusive;
  //限购
  private Integer isLimited;
  //是否热销
  private Integer isHot;
  //创建人ID
  private Long createUserId;
  //修改人ID
  private Long updateUserId;
  //修改时间
  private Date updateTime;
  //部门id数据权限
  private Long deptId;
  //商铺id
  private Long shopId;
}
